package cn.clx.ymcc.constant;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取ali。oss  yml参数
 */
@Data
@Component
@ConfigurationProperties(prefix = "ali.oss")
public class AlicloudOSSProperties {
    //Bucket 名称
    private String bucketName;
    //令牌
    private String accessKey;
    private String secretKey;
    //Endpoint（地域节点）
    private String endpoint;
}